package com.example.lenovo.demo.model.databean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by Lenovo on 2017/1/13.
 */

public class ModelDaysBean implements Parcelable{

    private String message;
    private int status;
    private DataBean data;

    protected ModelDaysBean(Parcel in) {
        message = in.readString();
        status = in.readInt();
        data = in.readParcelable(DataBean.class.getClassLoader());
    }

    public static final Creator<ModelDaysBean> CREATOR = new Creator<ModelDaysBean>() {
        @Override
        public ModelDaysBean createFromParcel(Parcel in) {
            return new ModelDaysBean(in);
        }

        @Override
        public ModelDaysBean[] newArray(int size) {
            return new ModelDaysBean[size];
        }
    };

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(message);
        parcel.writeInt(status);
        parcel.writeParcelable(data, i);
    }

    public static class DataBean implements Parcelable{

        private int id;
        private int destination_id;
        private String created_at;
        private int plan_day_points_count;
        private boolean official;
        private int photo_id;
        private String title;
        private int score;
        private boolean published;
        private boolean mixed;
        private PhotoBean photo;
        private DestinationBean destination;
        private List<DaysBean> days;

        protected DataBean(Parcel in) {
            id = in.readInt();
            destination_id = in.readInt();
            created_at = in.readString();
            plan_day_points_count = in.readInt();
            official = in.readByte() != 0;
            photo_id = in.readInt();
            title = in.readString();
            score = in.readInt();
            published = in.readByte() != 0;
            mixed = in.readByte() != 0;
            photo = in.readParcelable(PhotoBean.class.getClassLoader());
            destination = in.readParcelable(DestinationBean.class.getClassLoader());
            days = in.createTypedArrayList(DaysBean.CREATOR);
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getDestination_id() {
            return destination_id;
        }

        public void setDestination_id(int destination_id) {
            this.destination_id = destination_id;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public int getPlan_day_points_count() {
            return plan_day_points_count;
        }

        public void setPlan_day_points_count(int plan_day_points_count) {
            this.plan_day_points_count = plan_day_points_count;
        }

        public boolean isOfficial() {
            return official;
        }

        public void setOfficial(boolean official) {
            this.official = official;
        }

        public int getPhoto_id() {
            return photo_id;
        }

        public void setPhoto_id(int photo_id) {
            this.photo_id = photo_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public boolean isPublished() {
            return published;
        }

        public void setPublished(boolean published) {
            this.published = published;
        }

        public boolean isMixed() {
            return mixed;
        }

        public void setMixed(boolean mixed) {
            this.mixed = mixed;
        }

        public PhotoBean getPhoto() {
            return photo;
        }

        public void setPhoto(PhotoBean photo) {
            this.photo = photo;
        }

        public DestinationBean getDestination() {
            return destination;
        }

        public void setDestination(DestinationBean destination) {
            this.destination = destination;
        }

        public List<DaysBean> getDays() {
            return days;
        }

        public void setDays(List<DaysBean> days) {
            this.days = days;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel parcel, int i) {
            parcel.writeInt(id);
            parcel.writeInt(destination_id);
            parcel.writeString(created_at);
            parcel.writeInt(plan_day_points_count);
            parcel.writeByte((byte) (official ? 1 : 0));
            parcel.writeInt(photo_id);
            parcel.writeString(title);
            parcel.writeInt(score);
            parcel.writeByte((byte) (published ? 1 : 0));
            parcel.writeByte((byte) (mixed ? 1 : 0));
            parcel.writeParcelable(photo, i);
            parcel.writeParcelable(destination, i);
            parcel.writeTypedList(days);
        }

        public static class PhotoBean implements Parcelable {
            private int id;
            private int width;
            private int height;
            private String url;
            private int file_size;
            private String photo_url;

            protected PhotoBean(Parcel in) {
                id = in.readInt();
                width = in.readInt();
                height = in.readInt();
                url = in.readString();
                file_size = in.readInt();
                photo_url = in.readString();
            }

            public static final Creator<PhotoBean> CREATOR = new Creator<PhotoBean>() {
                @Override
                public PhotoBean createFromParcel(Parcel in) {
                    return new PhotoBean(in);
                }

                @Override
                public PhotoBean[] newArray(int size) {
                    return new PhotoBean[size];
                }
            };

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getFile_size() {
                return file_size;
            }

            public void setFile_size(int file_size) {
                this.file_size = file_size;
            }

            public String getPhoto_url() {
                return photo_url;
            }

            public void setPhoto_url(String photo_url) {
                this.photo_url = photo_url;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel parcel, int i) {
                parcel.writeInt(id);
                parcel.writeInt(width);
                parcel.writeInt(height);
                parcel.writeString(url);
                parcel.writeInt(file_size);
                parcel.writeString(photo_url);
            }
        }

        public static class DestinationBean implements Parcelable{


            private int id;
            private double lat;
            private double lng;
            private int district_id;
            private int parent_id;
            private String name;
            private String name_en;
            private String name_pinyin;
            private int score;
            private int level;
            private String path;
            private boolean published;
            private boolean is_in_china;
            private int inspiration_activities_count;
            private int activity_collections_count;
            private int wishes_count;
            private Object wiki_destination_id;
            private String photo_url;
            private String title;
            private String description;
            private String tip;
            private String time_cost;
            private Object wiki_page_id;
            private boolean has_airport;
            private String visit_tip;
            private boolean is_top_destination;
            private boolean is_in_grouping;
            private Object alias_name;
            private Object travel_tip;
            private PhotoBeanX photo;

            protected DestinationBean(Parcel in) {
                id = in.readInt();
                lat = in.readDouble();
                lng = in.readDouble();
                district_id = in.readInt();
                parent_id = in.readInt();
                name = in.readString();
                name_en = in.readString();
                name_pinyin = in.readString();
                score = in.readInt();
                level = in.readInt();
                path = in.readString();
                published = in.readByte() != 0;
                is_in_china = in.readByte() != 0;
                inspiration_activities_count = in.readInt();
                activity_collections_count = in.readInt();
                wishes_count = in.readInt();
                photo_url = in.readString();
                title = in.readString();
                description = in.readString();
                tip = in.readString();
                time_cost = in.readString();
                has_airport = in.readByte() != 0;
                visit_tip = in.readString();
                is_top_destination = in.readByte() != 0;
                is_in_grouping = in.readByte() != 0;
                photo = in.readParcelable(PhotoBeanX.class.getClassLoader());
            }

            public static final Creator<DestinationBean> CREATOR = new Creator<DestinationBean>() {
                @Override
                public DestinationBean createFromParcel(Parcel in) {
                    return new DestinationBean(in);
                }

                @Override
                public DestinationBean[] newArray(int size) {
                    return new DestinationBean[size];
                }
            };

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }

            public int getDistrict_id() {
                return district_id;
            }

            public void setDistrict_id(int district_id) {
                this.district_id = district_id;
            }

            public int getParent_id() {
                return parent_id;
            }

            public void setParent_id(int parent_id) {
                this.parent_id = parent_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getName_en() {
                return name_en;
            }

            public void setName_en(String name_en) {
                this.name_en = name_en;
            }

            public String getName_pinyin() {
                return name_pinyin;
            }

            public void setName_pinyin(String name_pinyin) {
                this.name_pinyin = name_pinyin;
            }

            public int getScore() {
                return score;
            }

            public void setScore(int score) {
                this.score = score;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public boolean isPublished() {
                return published;
            }

            public void setPublished(boolean published) {
                this.published = published;
            }

            public boolean isIs_in_china() {
                return is_in_china;
            }

            public void setIs_in_china(boolean is_in_china) {
                this.is_in_china = is_in_china;
            }

            public int getInspiration_activities_count() {
                return inspiration_activities_count;
            }

            public void setInspiration_activities_count(int inspiration_activities_count) {
                this.inspiration_activities_count = inspiration_activities_count;
            }

            public int getActivity_collections_count() {
                return activity_collections_count;
            }

            public void setActivity_collections_count(int activity_collections_count) {
                this.activity_collections_count = activity_collections_count;
            }

            public int getWishes_count() {
                return wishes_count;
            }

            public void setWishes_count(int wishes_count) {
                this.wishes_count = wishes_count;
            }

            public Object getWiki_destination_id() {
                return wiki_destination_id;
            }

            public void setWiki_destination_id(Object wiki_destination_id) {
                this.wiki_destination_id = wiki_destination_id;
            }

            public String getPhoto_url() {
                return photo_url;
            }

            public void setPhoto_url(String photo_url) {
                this.photo_url = photo_url;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getTip() {
                return tip;
            }

            public void setTip(String tip) {
                this.tip = tip;
            }

            public String getTime_cost() {
                return time_cost;
            }

            public void setTime_cost(String time_cost) {
                this.time_cost = time_cost;
            }

            public Object getWiki_page_id() {
                return wiki_page_id;
            }

            public void setWiki_page_id(Object wiki_page_id) {
                this.wiki_page_id = wiki_page_id;
            }

            public boolean isHas_airport() {
                return has_airport;
            }

            public void setHas_airport(boolean has_airport) {
                this.has_airport = has_airport;
            }

            public String getVisit_tip() {
                return visit_tip;
            }

            public void setVisit_tip(String visit_tip) {
                this.visit_tip = visit_tip;
            }

            public boolean isIs_top_destination() {
                return is_top_destination;
            }

            public void setIs_top_destination(boolean is_top_destination) {
                this.is_top_destination = is_top_destination;
            }

            public boolean isIs_in_grouping() {
                return is_in_grouping;
            }

            public void setIs_in_grouping(boolean is_in_grouping) {
                this.is_in_grouping = is_in_grouping;
            }

            public Object getAlias_name() {
                return alias_name;
            }

            public void setAlias_name(Object alias_name) {
                this.alias_name = alias_name;
            }

            public Object getTravel_tip() {
                return travel_tip;
            }

            public void setTravel_tip(Object travel_tip) {
                this.travel_tip = travel_tip;
            }

            public PhotoBeanX getPhoto() {
                return photo;
            }

            public void setPhoto(PhotoBeanX photo) {
                this.photo = photo;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel parcel, int i) {
                parcel.writeInt(id);
                parcel.writeDouble(lat);
                parcel.writeDouble(lng);
                parcel.writeInt(district_id);
                parcel.writeInt(parent_id);
                parcel.writeString(name);
                parcel.writeString(name_en);
                parcel.writeString(name_pinyin);
                parcel.writeInt(score);
                parcel.writeInt(level);
                parcel.writeString(path);
                parcel.writeByte((byte) (published ? 1 : 0));
                parcel.writeByte((byte) (is_in_china ? 1 : 0));
                parcel.writeInt(inspiration_activities_count);
                parcel.writeInt(activity_collections_count);
                parcel.writeInt(wishes_count);
                parcel.writeString(photo_url);
                parcel.writeString(title);
                parcel.writeString(description);
                parcel.writeString(tip);
                parcel.writeString(time_cost);
                parcel.writeByte((byte) (has_airport ? 1 : 0));
                parcel.writeString(visit_tip);
                parcel.writeByte((byte) (is_top_destination ? 1 : 0));
                parcel.writeByte((byte) (is_in_grouping ? 1 : 0));
                parcel.writeParcelable(photo, i);
            }

            public static class PhotoBeanX implements Parcelable{

                private int id;
                private int width;
                private int height;
                private String url;
                private int file_size;
                private String photo_url;

                protected PhotoBeanX(Parcel in) {
                    id = in.readInt();
                    width = in.readInt();
                    height = in.readInt();
                    url = in.readString();
                    file_size = in.readInt();
                    photo_url = in.readString();
                }

                public static final Creator<PhotoBeanX> CREATOR = new Creator<PhotoBeanX>() {
                    @Override
                    public PhotoBeanX createFromParcel(Parcel in) {
                        return new PhotoBeanX(in);
                    }

                    @Override
                    public PhotoBeanX[] newArray(int size) {
                        return new PhotoBeanX[size];
                    }
                };

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public int getFile_size() {
                    return file_size;
                }

                public void setFile_size(int file_size) {
                    this.file_size = file_size;
                }

                public String getPhoto_url() {
                    return photo_url;
                }

                public void setPhoto_url(String photo_url) {
                    this.photo_url = photo_url;
                }

                @Override
                public int describeContents() {
                    return 0;
                }

                @Override
                public void writeToParcel(Parcel parcel, int i) {
                    parcel.writeInt(id);
                    parcel.writeInt(width);
                    parcel.writeInt(height);
                    parcel.writeString(url);
                    parcel.writeInt(file_size);
                    parcel.writeString(photo_url);
                }
            }
        }

        public static class DaysBean implements Parcelable{


            private int id;
            private int plan_id;
            private int position;
            private String description;
            private List<PointsBean> points;

            protected DaysBean(Parcel in) {
                id = in.readInt();
                plan_id = in.readInt();
                position = in.readInt();
                description = in.readString();
                points = in.createTypedArrayList(PointsBean.CREATOR);
            }

            public static final Creator<DaysBean> CREATOR = new Creator<DaysBean>() {
                @Override
                public DaysBean createFromParcel(Parcel in) {
                    return new DaysBean(in);
                }

                @Override
                public DaysBean[] newArray(int size) {
                    return new DaysBean[size];
                }
            };

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getPlan_id() {
                return plan_id;
            }

            public void setPlan_id(int plan_id) {
                this.plan_id = plan_id;
            }

            public int getPosition() {
                return position;
            }

            public void setPosition(int position) {
                this.position = position;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public List<PointsBean> getPoints() {
                return points;
            }

            public void setPoints(List<PointsBean> points) {
                this.points = points;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel parcel, int i) {
                parcel.writeInt(id);
                parcel.writeInt(plan_id);
                parcel.writeInt(position);
                parcel.writeString(description);
                parcel.writeTypedList(points);
            }

            public static class PointsBean implements Parcelable{

                private int id;
                private int position;
                private int time_cost;
                private boolean is_custom;
                private PoiBean poi;
                private InspirationActivityBean inspiration_activity;

                protected PointsBean(Parcel in) {
                    id = in.readInt();
                    position = in.readInt();
                    time_cost = in.readInt();
                    is_custom = in.readByte() != 0;
                    poi = in.readParcelable(PoiBean.class.getClassLoader());
                    inspiration_activity = in.readParcelable(InspirationActivityBean.class.getClassLoader());
                }

                public static final Creator<PointsBean> CREATOR = new Creator<PointsBean>() {
                    @Override
                    public PointsBean createFromParcel(Parcel in) {
                        return new PointsBean(in);
                    }

                    @Override
                    public PointsBean[] newArray(int size) {
                        return new PointsBean[size];
                    }
                };

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getPosition() {
                    return position;
                }

                public void setPosition(int position) {
                    this.position = position;
                }

                public int getTime_cost() {
                    return time_cost;
                }

                public void setTime_cost(int time_cost) {
                    this.time_cost = time_cost;
                }

                public boolean isIs_custom() {
                    return is_custom;
                }

                public void setIs_custom(boolean is_custom) {
                    this.is_custom = is_custom;
                }

                public PoiBean getPoi() {
                    return poi;
                }

                public void setPoi(PoiBean poi) {
                    this.poi = poi;
                }

                public InspirationActivityBean getInspiration_activity() {
                    return inspiration_activity;
                }

                public void setInspiration_activity(InspirationActivityBean inspiration_activity) {
                    this.inspiration_activity = inspiration_activity;
                }

                @Override
                public int describeContents() {
                    return 0;
                }

                @Override
                public void writeToParcel(Parcel parcel, int i) {
                    parcel.writeInt(id);
                    parcel.writeInt(position);
                    parcel.writeInt(time_cost);
                    parcel.writeByte((byte) (is_custom ? 1 : 0));
                    parcel.writeParcelable(poi, i);
                    parcel.writeParcelable(inspiration_activity, i);
                }

                public static class PoiBean implements Parcelable{

                    private int id;
                    private String h5_url;
                    private String name;
                    private String name_en;
                    private String name_pinyin;
                    private int business_id;
                    private String poi_type;
                    private int district_id;
                    private double lat;
                    private double lng;
                    private String address;
                    private Object location_name;
                    private double blat;
                    private double blng;
                    private double youji_lat;
                    private double youji_lng;
                    private int youji_poi_id;
                    private String youji_poi_name;
                    private boolean is_in_china;
                    private Object local_name;
                    private Object local_address_name;

                    protected PoiBean(Parcel in) {
                        id = in.readInt();
                        h5_url = in.readString();
                        name = in.readString();
                        name_en = in.readString();
                        name_pinyin = in.readString();
                        business_id = in.readInt();
                        poi_type = in.readString();
                        district_id = in.readInt();
                        lat = in.readDouble();
                        lng = in.readDouble();
                        address = in.readString();
                        blat = in.readDouble();
                        blng = in.readDouble();
                        youji_lat = in.readDouble();
                        youji_lng = in.readDouble();
                        youji_poi_id = in.readInt();
                        youji_poi_name = in.readString();
                        is_in_china = in.readByte() != 0;
                    }

                    public static final Creator<PoiBean> CREATOR = new Creator<PoiBean>() {
                        @Override
                        public PoiBean createFromParcel(Parcel in) {
                            return new PoiBean(in);
                        }

                        @Override
                        public PoiBean[] newArray(int size) {
                            return new PoiBean[size];
                        }
                    };

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getH5_url() {
                        return h5_url;
                    }

                    public void setH5_url(String h5_url) {
                        this.h5_url = h5_url;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getName_en() {
                        return name_en;
                    }

                    public void setName_en(String name_en) {
                        this.name_en = name_en;
                    }

                    public String getName_pinyin() {
                        return name_pinyin;
                    }

                    public void setName_pinyin(String name_pinyin) {
                        this.name_pinyin = name_pinyin;
                    }

                    public int getBusiness_id() {
                        return business_id;
                    }

                    public void setBusiness_id(int business_id) {
                        this.business_id = business_id;
                    }

                    public String getPoi_type() {
                        return poi_type;
                    }

                    public void setPoi_type(String poi_type) {
                        this.poi_type = poi_type;
                    }

                    public int getDistrict_id() {
                        return district_id;
                    }

                    public void setDistrict_id(int district_id) {
                        this.district_id = district_id;
                    }

                    public double getLat() {
                        return lat;
                    }

                    public void setLat(double lat) {
                        this.lat = lat;
                    }

                    public double getLng() {
                        return lng;
                    }

                    public void setLng(double lng) {
                        this.lng = lng;
                    }

                    public String getAddress() {
                        return address;
                    }

                    public void setAddress(String address) {
                        this.address = address;
                    }

                    public Object getLocation_name() {
                        return location_name;
                    }

                    public void setLocation_name(Object location_name) {
                        this.location_name = location_name;
                    }

                    public double getBlat() {
                        return blat;
                    }

                    public void setBlat(double blat) {
                        this.blat = blat;
                    }

                    public double getBlng() {
                        return blng;
                    }

                    public void setBlng(double blng) {
                        this.blng = blng;
                    }

                    public double getYouji_lat() {
                        return youji_lat;
                    }

                    public void setYouji_lat(double youji_lat) {
                        this.youji_lat = youji_lat;
                    }

                    public double getYouji_lng() {
                        return youji_lng;
                    }

                    public void setYouji_lng(double youji_lng) {
                        this.youji_lng = youji_lng;
                    }

                    public int getYouji_poi_id() {
                        return youji_poi_id;
                    }

                    public void setYouji_poi_id(int youji_poi_id) {
                        this.youji_poi_id = youji_poi_id;
                    }

                    public String getYouji_poi_name() {
                        return youji_poi_name;
                    }

                    public void setYouji_poi_name(String youji_poi_name) {
                        this.youji_poi_name = youji_poi_name;
                    }

                    public boolean isIs_in_china() {
                        return is_in_china;
                    }

                    public void setIs_in_china(boolean is_in_china) {
                        this.is_in_china = is_in_china;
                    }

                    public Object getLocal_name() {
                        return local_name;
                    }

                    public void setLocal_name(Object local_name) {
                        this.local_name = local_name;
                    }

                    public Object getLocal_address_name() {
                        return local_address_name;
                    }

                    public void setLocal_address_name(Object local_address_name) {
                        this.local_address_name = local_address_name;
                    }

                    @Override
                    public int describeContents() {
                        return 0;
                    }

                    @Override
                    public void writeToParcel(Parcel parcel, int i) {
                        parcel.writeInt(id);
                        parcel.writeString(h5_url);
                        parcel.writeString(name);
                        parcel.writeString(name_en);
                        parcel.writeString(name_pinyin);
                        parcel.writeInt(business_id);
                        parcel.writeString(poi_type);
                        parcel.writeInt(district_id);
                        parcel.writeDouble(lat);
                        parcel.writeDouble(lng);
                        parcel.writeString(address);
                        parcel.writeDouble(blat);
                        parcel.writeDouble(blng);
                        parcel.writeDouble(youji_lat);
                        parcel.writeDouble(youji_lng);
                        parcel.writeInt(youji_poi_id);
                        parcel.writeString(youji_poi_name);
                        parcel.writeByte((byte) (is_in_china ? 1 : 0));
                    }
                }

                public static class InspirationActivityBean implements Parcelable{

                    private int id;
                    private String visit_tip;
                    private String address;
                    private String topic;
                    private String introduce;
                    private int time_cost;
                    private int wishes_count;
                    private int icon_type;
                    private int price;
                    private int user_activities_count;
                    private DestinationBeanXX destination;
                    private PhotoBeanXXX photo;
                    private List<PoisBean> pois;
                    private List<ActivityCollectionsBean> activity_collections;

                    protected InspirationActivityBean(Parcel in) {
                        id = in.readInt();
                        visit_tip = in.readString();
                        address = in.readString();
                        topic = in.readString();
                        introduce = in.readString();
                        time_cost = in.readInt();
                        wishes_count = in.readInt();
                        icon_type = in.readInt();
                        price = in.readInt();
                        user_activities_count = in.readInt();
                        destination = in.readParcelable(DestinationBeanXX.class.getClassLoader());
                        photo = in.readParcelable(PhotoBeanXXX.class.getClassLoader());
                        pois = in.createTypedArrayList(PoisBean.CREATOR);
                        activity_collections = in.createTypedArrayList(ActivityCollectionsBean.CREATOR);
                    }

                    public static final Creator<InspirationActivityBean> CREATOR = new Creator<InspirationActivityBean>() {
                        @Override
                        public InspirationActivityBean createFromParcel(Parcel in) {
                            return new InspirationActivityBean(in);
                        }

                        @Override
                        public InspirationActivityBean[] newArray(int size) {
                            return new InspirationActivityBean[size];
                        }
                    };

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getVisit_tip() {
                        return visit_tip;
                    }

                    public void setVisit_tip(String visit_tip) {
                        this.visit_tip = visit_tip;
                    }

                    public String getAddress() {
                        return address;
                    }

                    public void setAddress(String address) {
                        this.address = address;
                    }

                    public String getTopic() {
                        return topic;
                    }

                    public void setTopic(String topic) {
                        this.topic = topic;
                    }

                    public String getIntroduce() {
                        return introduce;
                    }

                    public void setIntroduce(String introduce) {
                        this.introduce = introduce;
                    }

                    public int getTime_cost() {
                        return time_cost;
                    }

                    public void setTime_cost(int time_cost) {
                        this.time_cost = time_cost;
                    }

                    public int getWishes_count() {
                        return wishes_count;
                    }

                    public void setWishes_count(int wishes_count) {
                        this.wishes_count = wishes_count;
                    }

                    public int getIcon_type() {
                        return icon_type;
                    }

                    public void setIcon_type(int icon_type) {
                        this.icon_type = icon_type;
                    }

                    public int getPrice() {
                        return price;
                    }

                    public void setPrice(int price) {
                        this.price = price;
                    }

                    public int getUser_activities_count() {
                        return user_activities_count;
                    }

                    public void setUser_activities_count(int user_activities_count) {
                        this.user_activities_count = user_activities_count;
                    }

                    public DestinationBeanXX getDestination() {
                        return destination;
                    }

                    public void setDestination(DestinationBeanXX destination) {
                        this.destination = destination;
                    }

                    public PhotoBeanXXX getPhoto() {
                        return photo;
                    }

                    public void setPhoto(PhotoBeanXXX photo) {
                        this.photo = photo;
                    }

                    public List<PoisBean> getPois() {
                        return pois;
                    }

                    public void setPois(List<PoisBean> pois) {
                        this.pois = pois;
                    }

                    public List<ActivityCollectionsBean> getActivity_collections() {
                        return activity_collections;
                    }

                    public void setActivity_collections(List<ActivityCollectionsBean> activity_collections) {
                        this.activity_collections = activity_collections;
                    }

                    @Override
                    public int describeContents() {
                        return 0;
                    }

                    @Override
                    public void writeToParcel(Parcel parcel, int i) {
                        parcel.writeInt(id);
                        parcel.writeString(visit_tip);
                        parcel.writeString(address);
                        parcel.writeString(topic);
                        parcel.writeString(introduce);
                        parcel.writeInt(time_cost);
                        parcel.writeInt(wishes_count);
                        parcel.writeInt(icon_type);
                        parcel.writeInt(price);
                        parcel.writeInt(user_activities_count);
                        parcel.writeParcelable(destination, i);
                        parcel.writeParcelable(photo, i);
                        parcel.writeTypedList(pois);
                        parcel.writeTypedList(activity_collections);
                    }

                    public static class DestinationBeanXX implements Parcelable{


                        private int id;
                        private double lat;
                        private double lng;
                        private int district_id;
                        private int parent_id;
                        private String name;
                        private String name_en;
                        private String name_pinyin;
                        private int score;
                        private int level;
                        private String path;
                        private boolean published;
                        private boolean is_in_china;
                        private int inspiration_activities_count;
                        private int activity_collections_count;
                        private int wishes_count;
                        private Object wiki_destination_id;
                        private String photo_url;
                        private String title;
                        private String description;
                        private String tip;
                        private String time_cost;
                        private int wiki_page_id;
                        private boolean has_airport;
                        private String visit_tip;
                        private boolean is_top_destination;
                        private boolean is_in_grouping;
                        private Object alias_name;
                        private Object travel_tip;
                        private PhotoBeanXX photo;
                        private WikiPageBean wiki_page;

                        protected DestinationBeanXX(Parcel in) {
                            id = in.readInt();
                            lat = in.readDouble();
                            lng = in.readDouble();
                            district_id = in.readInt();
                            parent_id = in.readInt();
                            name = in.readString();
                            name_en = in.readString();
                            name_pinyin = in.readString();
                            score = in.readInt();
                            level = in.readInt();
                            path = in.readString();
                            published = in.readByte() != 0;
                            is_in_china = in.readByte() != 0;
                            inspiration_activities_count = in.readInt();
                            activity_collections_count = in.readInt();
                            wishes_count = in.readInt();
                            photo_url = in.readString();
                            title = in.readString();
                            description = in.readString();
                            tip = in.readString();
                            time_cost = in.readString();
                            wiki_page_id = in.readInt();
                            has_airport = in.readByte() != 0;
                            visit_tip = in.readString();
                            is_top_destination = in.readByte() != 0;
                            is_in_grouping = in.readByte() != 0;
                            photo = in.readParcelable(PhotoBeanXX.class.getClassLoader());
                            wiki_page = in.readParcelable(WikiPageBean.class.getClassLoader());
                        }

                        public static final Creator<DestinationBeanXX> CREATOR = new Creator<DestinationBeanXX>() {
                            @Override
                            public DestinationBeanXX createFromParcel(Parcel in) {
                                return new DestinationBeanXX(in);
                            }

                            @Override
                            public DestinationBeanXX[] newArray(int size) {
                                return new DestinationBeanXX[size];
                            }
                        };

                        public int getId() {
                            return id;
                        }

                        public void setId(int id) {
                            this.id = id;
                        }

                        public double getLat() {
                            return lat;
                        }

                        public void setLat(double lat) {
                            this.lat = lat;
                        }

                        public double getLng() {
                            return lng;
                        }

                        public void setLng(double lng) {
                            this.lng = lng;
                        }

                        public int getDistrict_id() {
                            return district_id;
                        }

                        public void setDistrict_id(int district_id) {
                            this.district_id = district_id;
                        }

                        public int getParent_id() {
                            return parent_id;
                        }

                        public void setParent_id(int parent_id) {
                            this.parent_id = parent_id;
                        }

                        public String getName() {
                            return name;
                        }

                        public void setName(String name) {
                            this.name = name;
                        }

                        public String getName_en() {
                            return name_en;
                        }

                        public void setName_en(String name_en) {
                            this.name_en = name_en;
                        }

                        public String getName_pinyin() {
                            return name_pinyin;
                        }

                        public void setName_pinyin(String name_pinyin) {
                            this.name_pinyin = name_pinyin;
                        }

                        public int getScore() {
                            return score;
                        }

                        public void setScore(int score) {
                            this.score = score;
                        }

                        public int getLevel() {
                            return level;
                        }

                        public void setLevel(int level) {
                            this.level = level;
                        }

                        public String getPath() {
                            return path;
                        }

                        public void setPath(String path) {
                            this.path = path;
                        }

                        public boolean isPublished() {
                            return published;
                        }

                        public void setPublished(boolean published) {
                            this.published = published;
                        }

                        public boolean isIs_in_china() {
                            return is_in_china;
                        }

                        public void setIs_in_china(boolean is_in_china) {
                            this.is_in_china = is_in_china;
                        }

                        public int getInspiration_activities_count() {
                            return inspiration_activities_count;
                        }

                        public void setInspiration_activities_count(int inspiration_activities_count) {
                            this.inspiration_activities_count = inspiration_activities_count;
                        }

                        public int getActivity_collections_count() {
                            return activity_collections_count;
                        }

                        public void setActivity_collections_count(int activity_collections_count) {
                            this.activity_collections_count = activity_collections_count;
                        }

                        public int getWishes_count() {
                            return wishes_count;
                        }

                        public void setWishes_count(int wishes_count) {
                            this.wishes_count = wishes_count;
                        }

                        public Object getWiki_destination_id() {
                            return wiki_destination_id;
                        }

                        public void setWiki_destination_id(Object wiki_destination_id) {
                            this.wiki_destination_id = wiki_destination_id;
                        }

                        public String getPhoto_url() {
                            return photo_url;
                        }

                        public void setPhoto_url(String photo_url) {
                            this.photo_url = photo_url;
                        }

                        public String getTitle() {
                            return title;
                        }

                        public void setTitle(String title) {
                            this.title = title;
                        }

                        public String getDescription() {
                            return description;
                        }

                        public void setDescription(String description) {
                            this.description = description;
                        }

                        public String getTip() {
                            return tip;
                        }

                        public void setTip(String tip) {
                            this.tip = tip;
                        }

                        public String getTime_cost() {
                            return time_cost;
                        }

                        public void setTime_cost(String time_cost) {
                            this.time_cost = time_cost;
                        }

                        public int getWiki_page_id() {
                            return wiki_page_id;
                        }

                        public void setWiki_page_id(int wiki_page_id) {
                            this.wiki_page_id = wiki_page_id;
                        }

                        public boolean isHas_airport() {
                            return has_airport;
                        }

                        public void setHas_airport(boolean has_airport) {
                            this.has_airport = has_airport;
                        }

                        public String getVisit_tip() {
                            return visit_tip;
                        }

                        public void setVisit_tip(String visit_tip) {
                            this.visit_tip = visit_tip;
                        }

                        public boolean isIs_top_destination() {
                            return is_top_destination;
                        }

                        public void setIs_top_destination(boolean is_top_destination) {
                            this.is_top_destination = is_top_destination;
                        }

                        public boolean isIs_in_grouping() {
                            return is_in_grouping;
                        }

                        public void setIs_in_grouping(boolean is_in_grouping) {
                            this.is_in_grouping = is_in_grouping;
                        }

                        public Object getAlias_name() {
                            return alias_name;
                        }

                        public void setAlias_name(Object alias_name) {
                            this.alias_name = alias_name;
                        }

                        public Object getTravel_tip() {
                            return travel_tip;
                        }

                        public void setTravel_tip(Object travel_tip) {
                            this.travel_tip = travel_tip;
                        }

                        public PhotoBeanXX getPhoto() {
                            return photo;
                        }

                        public void setPhoto(PhotoBeanXX photo) {
                            this.photo = photo;
                        }

                        public WikiPageBean getWiki_page() {
                            return wiki_page;
                        }

                        public void setWiki_page(WikiPageBean wiki_page) {
                            this.wiki_page = wiki_page;
                        }

                        @Override
                        public int describeContents() {
                            return 0;
                        }

                        @Override
                        public void writeToParcel(Parcel parcel, int i) {
                            parcel.writeInt(id);
                            parcel.writeDouble(lat);
                            parcel.writeDouble(lng);
                            parcel.writeInt(district_id);
                            parcel.writeInt(parent_id);
                            parcel.writeString(name);
                            parcel.writeString(name_en);
                            parcel.writeString(name_pinyin);
                            parcel.writeInt(score);
                            parcel.writeInt(level);
                            parcel.writeString(path);
                            parcel.writeByte((byte) (published ? 1 : 0));
                            parcel.writeByte((byte) (is_in_china ? 1 : 0));
                            parcel.writeInt(inspiration_activities_count);
                            parcel.writeInt(activity_collections_count);
                            parcel.writeInt(wishes_count);
                            parcel.writeString(photo_url);
                            parcel.writeString(title);
                            parcel.writeString(description);
                            parcel.writeString(tip);
                            parcel.writeString(time_cost);
                            parcel.writeInt(wiki_page_id);
                            parcel.writeByte((byte) (has_airport ? 1 : 0));
                            parcel.writeString(visit_tip);
                            parcel.writeByte((byte) (is_top_destination ? 1 : 0));
                            parcel.writeByte((byte) (is_in_grouping ? 1 : 0));
                            parcel.writeParcelable(photo, i);
                            parcel.writeParcelable(wiki_page, i);
                        }

                        public static class PhotoBeanXX implements Parcelable {


                            private int id;
                            private int width;
                            private int height;
                            private String url;
                            private int file_size;
                            private String photo_url;

                            protected PhotoBeanXX(Parcel in) {
                                id = in.readInt();
                                width = in.readInt();
                                height = in.readInt();
                                url = in.readString();
                                file_size = in.readInt();
                                photo_url = in.readString();
                            }

                            public static final Creator<PhotoBeanXX> CREATOR = new Creator<PhotoBeanXX>() {
                                @Override
                                public PhotoBeanXX createFromParcel(Parcel in) {
                                    return new PhotoBeanXX(in);
                                }

                                @Override
                                public PhotoBeanXX[] newArray(int size) {
                                    return new PhotoBeanXX[size];
                                }
                            };

                            public int getId() {
                                return id;
                            }

                            public void setId(int id) {
                                this.id = id;
                            }

                            public int getWidth() {
                                return width;
                            }

                            public void setWidth(int width) {
                                this.width = width;
                            }

                            public int getHeight() {
                                return height;
                            }

                            public void setHeight(int height) {
                                this.height = height;
                            }

                            public String getUrl() {
                                return url;
                            }

                            public void setUrl(String url) {
                                this.url = url;
                            }

                            public int getFile_size() {
                                return file_size;
                            }

                            public void setFile_size(int file_size) {
                                this.file_size = file_size;
                            }

                            public String getPhoto_url() {
                                return photo_url;
                            }

                            public void setPhoto_url(String photo_url) {
                                this.photo_url = photo_url;
                            }

                            @Override
                            public int describeContents() {
                                return 0;
                            }

                            @Override
                            public void writeToParcel(Parcel parcel, int i) {
                                parcel.writeInt(id);
                                parcel.writeInt(width);
                                parcel.writeInt(height);
                                parcel.writeString(url);
                                parcel.writeInt(file_size);
                                parcel.writeString(photo_url);
                            }
                        }

                        public static class WikiPageBean implements Parcelable{


                            private int id;
                            private int destination_id;
                            private String title;
                            private int category_type;
                            private DestinationBeanX destination;

                            protected WikiPageBean(Parcel in) {
                                id = in.readInt();
                                destination_id = in.readInt();
                                title = in.readString();
                                category_type = in.readInt();
                                destination = in.readParcelable(DestinationBeanX.class.getClassLoader());
                            }

                            public static final Creator<WikiPageBean> CREATOR = new Creator<WikiPageBean>() {
                                @Override
                                public WikiPageBean createFromParcel(Parcel in) {
                                    return new WikiPageBean(in);
                                }

                                @Override
                                public WikiPageBean[] newArray(int size) {
                                    return new WikiPageBean[size];
                                }
                            };

                            public int getId() {
                                return id;
                            }

                            public void setId(int id) {
                                this.id = id;
                            }

                            public int getDestination_id() {
                                return destination_id;
                            }

                            public void setDestination_id(int destination_id) {
                                this.destination_id = destination_id;
                            }

                            public String getTitle() {
                                return title;
                            }

                            public void setTitle(String title) {
                                this.title = title;
                            }

                            public int getCategory_type() {
                                return category_type;
                            }

                            public void setCategory_type(int category_type) {
                                this.category_type = category_type;
                            }

                            public DestinationBeanX getDestination() {
                                return destination;
                            }

                            public void setDestination(DestinationBeanX destination) {
                                this.destination = destination;
                            }

                            @Override
                            public int describeContents() {
                                return 0;
                            }

                            @Override
                            public void writeToParcel(Parcel parcel, int i) {
                                parcel.writeInt(id);
                                parcel.writeInt(destination_id);
                                parcel.writeString(title);
                                parcel.writeInt(category_type);
                                parcel.writeParcelable(destination, i);
                            }

                            public static class DestinationBeanX implements Parcelable {


                                private int id;
                                private String name_zh_cn;
                                private int children_count;
                                private String name_en;
                                private String image_url;

                                protected DestinationBeanX(Parcel in) {
                                    id = in.readInt();
                                    name_zh_cn = in.readString();
                                    children_count = in.readInt();
                                    name_en = in.readString();
                                    image_url = in.readString();
                                }

                                public static final Creator<DestinationBeanX> CREATOR = new Creator<DestinationBeanX>() {
                                    @Override
                                    public DestinationBeanX createFromParcel(Parcel in) {
                                        return new DestinationBeanX(in);
                                    }

                                    @Override
                                    public DestinationBeanX[] newArray(int size) {
                                        return new DestinationBeanX[size];
                                    }
                                };

                                public int getId() {
                                    return id;
                                }

                                public void setId(int id) {
                                    this.id = id;
                                }

                                public String getName_zh_cn() {
                                    return name_zh_cn;
                                }

                                public void setName_zh_cn(String name_zh_cn) {
                                    this.name_zh_cn = name_zh_cn;
                                }

                                public int getChildren_count() {
                                    return children_count;
                                }

                                public void setChildren_count(int children_count) {
                                    this.children_count = children_count;
                                }

                                public String getName_en() {
                                    return name_en;
                                }

                                public void setName_en(String name_en) {
                                    this.name_en = name_en;
                                }

                                public String getImage_url() {
                                    return image_url;
                                }

                                public void setImage_url(String image_url) {
                                    this.image_url = image_url;
                                }

                                @Override
                                public int describeContents() {
                                    return 0;
                                }

                                @Override
                                public void writeToParcel(Parcel parcel, int i) {
                                    parcel.writeInt(id);
                                    parcel.writeString(name_zh_cn);
                                    parcel.writeInt(children_count);
                                    parcel.writeString(name_en);
                                    parcel.writeString(image_url);
                                }
                            }
                        }
                    }

                    public static class PhotoBeanXXX implements Parcelable{


                        private int width;
                        private int height;
                        private String photo_url;

                        protected PhotoBeanXXX(Parcel in) {
                            width = in.readInt();
                            height = in.readInt();
                            photo_url = in.readString();
                        }

                        public static final Creator<PhotoBeanXXX> CREATOR = new Creator<PhotoBeanXXX>() {
                            @Override
                            public PhotoBeanXXX createFromParcel(Parcel in) {
                                return new PhotoBeanXXX(in);
                            }

                            @Override
                            public PhotoBeanXXX[] newArray(int size) {
                                return new PhotoBeanXXX[size];
                            }
                        };

                        public int getWidth() {
                            return width;
                        }

                        public void setWidth(int width) {
                            this.width = width;
                        }

                        public int getHeight() {
                            return height;
                        }

                        public void setHeight(int height) {
                            this.height = height;
                        }

                        public String getPhoto_url() {
                            return photo_url;
                        }

                        public void setPhoto_url(String photo_url) {
                            this.photo_url = photo_url;
                        }

                        @Override
                        public int describeContents() {
                            return 0;
                        }

                        @Override
                        public void writeToParcel(Parcel parcel, int i) {
                            parcel.writeInt(width);
                            parcel.writeInt(height);
                            parcel.writeString(photo_url);
                        }
                    }

                    public static class PoisBean implements Parcelable{


                        private int id;
                        private String h5_url;
                        private String name;
                        private String name_en;
                        private String name_pinyin;
                        private int business_id;
                        private String poi_type;
                        private int district_id;
                        private double lat;
                        private double lng;
                        private String address;
                        private Object location_name;
                        private double blat;
                        private double blng;
                        private double youji_lat;
                        private double youji_lng;
                        private int youji_poi_id;
                        private String youji_poi_name;
                        private boolean is_in_china;
                        private Object local_name;
                        private Object local_address_name;

                        protected PoisBean(Parcel in) {
                            id = in.readInt();
                            h5_url = in.readString();
                            name = in.readString();
                            name_en = in.readString();
                            name_pinyin = in.readString();
                            business_id = in.readInt();
                            poi_type = in.readString();
                            district_id = in.readInt();
                            lat = in.readDouble();
                            lng = in.readDouble();
                            address = in.readString();
                            blat = in.readDouble();
                            blng = in.readDouble();
                            youji_lat = in.readDouble();
                            youji_lng = in.readDouble();
                            youji_poi_id = in.readInt();
                            youji_poi_name = in.readString();
                            is_in_china = in.readByte() != 0;
                        }

                        public static final Creator<PoisBean> CREATOR = new Creator<PoisBean>() {
                            @Override
                            public PoisBean createFromParcel(Parcel in) {
                                return new PoisBean(in);
                            }

                            @Override
                            public PoisBean[] newArray(int size) {
                                return new PoisBean[size];
                            }
                        };

                        public int getId() {
                            return id;
                        }

                        public void setId(int id) {
                            this.id = id;
                        }

                        public String getH5_url() {
                            return h5_url;
                        }

                        public void setH5_url(String h5_url) {
                            this.h5_url = h5_url;
                        }

                        public String getName() {
                            return name;
                        }

                        public void setName(String name) {
                            this.name = name;
                        }

                        public String getName_en() {
                            return name_en;
                        }

                        public void setName_en(String name_en) {
                            this.name_en = name_en;
                        }

                        public String getName_pinyin() {
                            return name_pinyin;
                        }

                        public void setName_pinyin(String name_pinyin) {
                            this.name_pinyin = name_pinyin;
                        }

                        public int getBusiness_id() {
                            return business_id;
                        }

                        public void setBusiness_id(int business_id) {
                            this.business_id = business_id;
                        }

                        public String getPoi_type() {
                            return poi_type;
                        }

                        public void setPoi_type(String poi_type) {
                            this.poi_type = poi_type;
                        }

                        public int getDistrict_id() {
                            return district_id;
                        }

                        public void setDistrict_id(int district_id) {
                            this.district_id = district_id;
                        }

                        public double getLat() {
                            return lat;
                        }

                        public void setLat(double lat) {
                            this.lat = lat;
                        }

                        public double getLng() {
                            return lng;
                        }

                        public void setLng(double lng) {
                            this.lng = lng;
                        }

                        public String getAddress() {
                            return address;
                        }

                        public void setAddress(String address) {
                            this.address = address;
                        }

                        public Object getLocation_name() {
                            return location_name;
                        }

                        public void setLocation_name(Object location_name) {
                            this.location_name = location_name;
                        }

                        public double getBlat() {
                            return blat;
                        }

                        public void setBlat(double blat) {
                            this.blat = blat;
                        }

                        public double getBlng() {
                            return blng;
                        }

                        public void setBlng(double blng) {
                            this.blng = blng;
                        }

                        public double getYouji_lat() {
                            return youji_lat;
                        }

                        public void setYouji_lat(double youji_lat) {
                            this.youji_lat = youji_lat;
                        }

                        public double getYouji_lng() {
                            return youji_lng;
                        }

                        public void setYouji_lng(double youji_lng) {
                            this.youji_lng = youji_lng;
                        }

                        public int getYouji_poi_id() {
                            return youji_poi_id;
                        }

                        public void setYouji_poi_id(int youji_poi_id) {
                            this.youji_poi_id = youji_poi_id;
                        }

                        public String getYouji_poi_name() {
                            return youji_poi_name;
                        }

                        public void setYouji_poi_name(String youji_poi_name) {
                            this.youji_poi_name = youji_poi_name;
                        }

                        public boolean isIs_in_china() {
                            return is_in_china;
                        }

                        public void setIs_in_china(boolean is_in_china) {
                            this.is_in_china = is_in_china;
                        }

                        public Object getLocal_name() {
                            return local_name;
                        }

                        public void setLocal_name(Object local_name) {
                            this.local_name = local_name;
                        }

                        public Object getLocal_address_name() {
                            return local_address_name;
                        }

                        public void setLocal_address_name(Object local_address_name) {
                            this.local_address_name = local_address_name;
                        }

                        @Override
                        public int describeContents() {
                            return 0;
                        }

                        @Override
                        public void writeToParcel(Parcel parcel, int i) {
                            parcel.writeInt(id);
                            parcel.writeString(h5_url);
                            parcel.writeString(name);
                            parcel.writeString(name_en);
                            parcel.writeString(name_pinyin);
                            parcel.writeInt(business_id);
                            parcel.writeString(poi_type);
                            parcel.writeInt(district_id);
                            parcel.writeDouble(lat);
                            parcel.writeDouble(lng);
                            parcel.writeString(address);
                            parcel.writeDouble(blat);
                            parcel.writeDouble(blng);
                            parcel.writeDouble(youji_lat);
                            parcel.writeDouble(youji_lng);
                            parcel.writeInt(youji_poi_id);
                            parcel.writeString(youji_poi_name);
                            parcel.writeByte((byte) (is_in_china ? 1 : 0));
                        }
                    }

                    public static class ActivityCollectionsBean implements Parcelable{


                        private int id;
                        private String topic;

                        protected ActivityCollectionsBean(Parcel in) {
                            id = in.readInt();
                            topic = in.readString();
                        }

                        public static final Creator<ActivityCollectionsBean> CREATOR = new Creator<ActivityCollectionsBean>() {
                            @Override
                            public ActivityCollectionsBean createFromParcel(Parcel in) {
                                return new ActivityCollectionsBean(in);
                            }

                            @Override
                            public ActivityCollectionsBean[] newArray(int size) {
                                return new ActivityCollectionsBean[size];
                            }
                        };

                        public int getId() {
                            return id;
                        }

                        public void setId(int id) {
                            this.id = id;
                        }

                        public String getTopic() {
                            return topic;
                        }

                        public void setTopic(String topic) {
                            this.topic = topic;
                        }

                        @Override
                        public int describeContents() {
                            return 0;
                        }

                        @Override
                        public void writeToParcel(Parcel parcel, int i) {
                            parcel.writeInt(id);
                            parcel.writeString(topic);
                        }
                    }
                }
            }
        }
    }
}
